import {
    createAction,
  } from 'redux-actions'
  import {
    industry,
  } from 'api'
  import {
    createAjaxAction,
  } from 'utils'
  
  //查询视频
  export const fetchVideoCheckList = createAjaxAction(
    industry.industryCheckList,
  )
  //添加视频
  export const addVideoinfo = createAjaxAction(
    industry.industryaddvideoinfo,
  )
  //行业视频-编辑视频
  export const editVideoinfo = createAjaxAction(
    industry.editVideoinfoList,
  )
  //行业视频-删除视频
  export const deleteVideoinfo = createAjaxAction(
    industry.deleteVideoinfoList,
  )
  //查询行业新闻
  export const fetchNewCheckList = createAjaxAction(
    industry.industryCheckNewList,
  )
  //添加行业要闻
  export const addNews = createAjaxAction(
    industry.addNewsList,
  )
  //添加行业要闻
  export const editNews = createAjaxAction(
    industry.editNewsList,
  )
  //行业要闻-删除
  export const deleteNews = createAjaxAction(
    industry.deleteNewsList,
  )
  //查询行业活动
  export const selectActive = createAjaxAction(
    industry.selectActiveList,
  )
  //添加行业活动
  export const addActive = createAjaxAction(
    industry.addActiveList,
  )
  //编辑行业活动
  export const editActive = createAjaxAction(
    industry.editActiveList,
  )
  //删除活动
  export const deleteActive = createAjaxAction(
    industry.deleteActiveList,
  )
  //查看报名列表
  export const activeJion = createAjaxAction(
    industry.activeJionList,
  )